package com.xinsoft.controller.service;

import com.xinsoft.common.Response;
import com.xinsoft.entity.dto.ScmPurchaseDto;
import com.xinsoft.entity.po.SysFileHis;
import com.xinsoft.entity.vo.ScmPurchaseVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

public interface ScmPurchaseScmSaleService {

    /**
     * 暂存采购申请单
     */
    Integer addOrUpdate(ScmPurchaseDto scmPurchaseDto);

    Response<?> submintApprove(ScmPurchaseDto scmPurchaseDto);

    ScmPurchaseVo getScmPurchase(Integer id);

    void saveDocumentList(List<SysFileHis> cusDocumentList, Integer type, Integer sourceId);
}
